package com.ruoyi.web.controller.mall.goodsSpecValues.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;

/**
 * 商品规格值对象 goods_spec_values
 * 
 * @author ruoyi
 * @date 2021-01-18
 */
public class GoodsSpecValues //extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 规格ID */
    @Excel(name = "规格ID")
    private String specId;

    /** 规格值 */
    @Excel(name = "规格值")
    private String specValue;

    /** 规格图片 */
    @Excel(name = "规格图片")
    private String specPicurl;

    /** 排序字段 */
    @Excel(name = "排序字段")
    private Integer location;

    /** 创建用户id */
    @Excel(name = "创建用户id")
    private Long userIdCreate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtCreate;

    /** 修改时间 */
    private Date gmtModified;

    /** 删除标记 */
    private Integer delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setSpecId(String specId) 
    {
        this.specId = specId;
    }

    public String getSpecId() 
    {
        return specId;
    }
    public void setSpecValue(String specValue) 
    {
        this.specValue = specValue;
    }

    public String getSpecValue() 
    {
        return specValue;
    }
    public void setSpecPicurl(String specPicurl) 
    {
        this.specPicurl = specPicurl;
    }

    public String getSpecPicurl() 
    {
        return specPicurl;
    }
    public void setLocation(Integer location)
    {
        this.location = location;
    }

    public Integer getLocation()
    {
        return location;
    }
    public void setUserIdCreate(Long userIdCreate) 
    {
        this.userIdCreate = userIdCreate;
    }

    public Long getUserIdCreate() 
    {
        return userIdCreate;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModified(Date gmtModified) 
    {
        this.gmtModified = gmtModified;
    }

    public Date getGmtModified() 
    {
        return gmtModified;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("specId", getSpecId())
            .append("specValue", getSpecValue())
            .append("specPicurl", getSpecPicurl())
            .append("location", getLocation())
            .append("userIdCreate", getUserIdCreate())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModified", getGmtModified())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
